package com.lcq.subject.application.convert;

import com.lcq.subject.application.dto.SubjectAnswerDTO;
import com.lcq.subject.domain.entity.SubjectAnswerBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerDTOConverter {
    
    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);
    
    SubjectAnswerBO convertDtoToBo(SubjectAnswerDTO subjectAnswerDTO);
    
    List<SubjectAnswerBO> convertListDtoToBo(List<SubjectAnswerDTO> subjectAnswerDTO);
    
    
}
